
from django.contrib import admin
from django.urls import path
from django.conf.urls import url
from web.views import account,home,project

urlpatterns = [

    url(r'^register/$', account.register,name = 'register'),
    url(r'^send/sms/$', account.send_sms,name = 'send_sms'),
    url(r'^login/sms/$', account.login_sms,name = 'login_sms'), #短信登陆
    url(r'^login/$', account.login,name = 'login'), #用户名密码登陆
    url(r'^image/code/$', account.image_code,name = 'image_code'), #验证码生成
    url(r'^index/$', home.index,name = 'index'), #首页
    url(r'^logout/$', account.logout,name = 'logout'), #退出

    #项目管理
    url(r'^project/list/$', project.project_list,name = 'project_list'),
]

